﻿namespace Nexia.FluentHtmlElements.Elements
{
	/// <summary>
	/// A factory used to create FluentHtmlElements elements.
	/// </summary>
	public class TagFactory
	{
		/// <summary>
		/// Create a UL tag
		/// </summary>
		/// <returns></returns>
		public UnorderedList Ul()
		{
			return new UnorderedList();
		}

		/// <summary>
		/// Create a OL tag
		/// </summary>
		/// <returns></returns>
		public OrderedList Ol()
		{
			return new OrderedList();
		}

		/// <summary>
		/// Create a LI tag
		/// </summary>
		/// <returns></returns>
		public ListItem Li()
		{
			return new ListItem();
		}

		/// <summary>
		/// Create a A tag
		/// </summary>
		/// <returns></returns>
		public HyperLink A()
		{
			return new HyperLink();
		}

		/// <summary>
		/// Create a DIV tag
		/// </summary>
		/// <returns></returns>
		public Div Div()
		{
			return new Div();
		}

		/// <summary>
		///  Create a SPAN tag
		/// </summary>
		/// <returns></returns>
		public Span Span()
		{
			return new Span();
		}

		/// <summary>
		/// Create a IMG tag
		/// </summary>
		/// <returns></returns>
		public Image Img()
		{
			return new Image();
		}
	}
}